package com.yunbao.ioc.example;

import com.yunbao.ioc.annotation.Autowired;
import com.yunbao.ioc.annotation.Service;

/**
 * Created by louisyuu on 2020/3/4 下午12:30
 */

@Service
public class UserService implements IUserService{


    @Autowired
    private OrderService orderService;


    @Autowired
    private ExampleBean exampleBean;


    public OrderService getOrderService() {
        return orderService;
    }

    public void setOrderService(OrderService orderService) {
        this.orderService = orderService;
    }

    public ExampleBean getExampleBean() {
        return exampleBean;
    }

    public void setExampleBean(ExampleBean exampleBean) {
        this.exampleBean = exampleBean;
    }
}
